package world.zwq.gulimall.product.dao;

import org.apache.ibatis.annotations.Param;
import world.zwq.gulimall.product.entity.SpuInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

/**
 * spu信息
 * 
 * @author zhangwq
 * @email 768350451@qq.com
 * @date 2021-02-28 17:16:47
 */
@Mapper
public interface SpuInfoDao extends BaseMapper<SpuInfoEntity> {
    /**
     * 修改商品上架状态
     * @param spuId
     * @param status
     */
    void updateSpuStatus(@Param("spuId") Long spuId, @Param("status") int status);
}
